package com.xiangban.yanglaodajie_platform.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 181****0667
 * @date 2021-05-08 14:46:13
 * @email 
 */
@Data
@ApiModel("老年学堂活动(签到签退)报名页面")
public class ClassOrActivity {

    @ApiModelProperty(value = "活动id")
    private Integer id;

    @ApiModelProperty(value = "活动商家id")
    private Integer shopId;

    @ApiModelProperty(value = "活动名称")
    private String className;

    @ApiModelProperty(value = "活动组织人")
    private String teacherName;

    @ApiModelProperty(value = "活动地点")
    private String classAddress;

    @ApiModelProperty(value = "活动时间")
    private String activityTime;

    @ApiModelProperty(value = "应该打卡地点（经度）")
    private BigDecimal longitude;

    @ApiModelProperty(value = "应该打卡地点（纬度）")
    private BigDecimal latitude;

    @ApiModelProperty(value = "打卡范围")
    private Integer scope;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "活动标签")
    private String label;

    @ApiModelProperty(value = "活动图")
    private String image;

    @ApiModelProperty(value = "库存（备用字段）")
    private Integer inventory;

    @ApiModelProperty(value = "归属分类")
    private Integer classifyGoodsId;

    @ApiModelProperty(value = "报名人数")
    private Integer number;

    @ApiModelProperty(value = "活动开始时间")
    private Date startTime;

    @ApiModelProperty(value = "活动截止时间")
    private Date endTime;

    @ApiModelProperty(value = "是否售卖：0 售卖  1 不售卖")
    private Integer isSell;

    @ApiModelProperty(value = "是否存在上级课程 0 否 1是")
    private Integer isParent;

    @ApiModelProperty(value = "上级课程id")
    private Integer classPid;

    @ApiModelProperty(value = "课程状态：1：正常、-1：删除")
    private Integer status;


}